/*
 * @Author: ayun chengyunwu@jiatui.com
 * @Date: 2023-07-07 09:37:53
 * @LastEditors: ayun chengyunwu@jiatui.com
 * @LastEditTime: 2023-07-10 10:42:42
 * @FilePath: /ift-economy-network-h5/src/service/Investment-intention/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { get, post } from '@/utils/request'
const VITE_API_URL = import.meta.env.VITE_API_URL

const GOVECONOMICS = `${VITE_API_URL}gov-economics`

/**
 * 查询机构联系方式
 * @param params
 * @returns
 */
export const getContactInfo = (params = {}) =>
  get(`${GOVECONOMICS}/gov/contact/listAll`, params, {
    showLoading: true,
  })

/**
 * 提交表单
 * @param params
 * @returns
 */
export const setFormInfo = (data = {}) =>
  post(`${GOVECONOMICS}/invest/purpose/form/add`, data, {
    showLoading: true,
  })
